﻿using Assets.Scripts.System.GameState;
using System.Collections;
using UnityEngine;

namespace Assets.Scripts.UI
{
    public class PausingPanel : BasePanel
    {
        public void OnContinueBtnPressed()
        {
            GameManager.Instance.TranslateGameState(GameState.Gaming);
        }
        public void OnSettingBtnPressed()
        {
            UIManager.Instance.PushPanel(UIPanelType.SettingPanel);
        }
        public void OnMainMenuBtnPressed()
        {
            //TODO：结算回到主页面
            GameManager.Instance.TranslateGameState(GameState.Calculating);
        }
    }
}